<template>
  <div class="productList">
    <van-dropdown-menu>
      <van-dropdown-item v-model="value1" :options="option1" />
      <van-dropdown-item v-model="value2" :options="option2" />
      <van-dropdown-item v-model="value3" :options="option3" />
    </van-dropdown-menu>
    <itemProduct />
  </div>

</template>

<script>
import itemProduct from '@/components/item/item-product-list'
export default {
  components: {
    itemProduct
  },
  data() {
    return {
      value1: 0,
      value2: 0,
      value3: 'a',
      option1: [
        { text: '销量', value: 0 },
        { text: '由高到低', value: 1 },
        { text: '由低到高', value: 2 }
      ],
      option2: [
        { text: '新品', value: 0 }
      ],
      option3: [
        { text: '默认排序', value: 'a' },
        { text: '好评排序', value: 'b' },
        { text: '销量排序', value: 'c' }
      ]
    }
  }
}
</script>

<style lang="less">
.productList{
    width: 100%;
}
</style>
